package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 区域对象 district
 *
 * @author ruoyi
 * @date 2021-04-28
 */
public class District extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 编号 */
    private Long disId;

    /** 区域类型 */
    @Excel(name = "区域类型")
    private String disType;

    /** 名称 */
    @Excel(name = "名称")
    private String disName;

    /** 排序 */
    @Excel(name = "排序")
    private Long disOrder;

    /** 修改时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "修改时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date disUptime;

    /** 可用性 */
    @Excel(name = "可用性")
    private String disState;

    public void setDisId(Long disId)
    {
        this.disId = disId;
    }

    public Long getDisId()
    {
        return disId;
    }
    public void setDisType(String disType)
    {
        this.disType = disType;
    }

    public String getDisType()
    {
        return disType;
    }
    public void setDisName(String disName)
    {
        this.disName = disName;
    }

    public String getDisName()
    {
        return disName;
    }
    public void setDisOrder(Long disOrder)
    {
        this.disOrder = disOrder;
    }

    public Long getDisOrder()
    {
        return disOrder;
    }
    public void setDisUptime(Date disUptime)
    {
        this.disUptime = disUptime;
    }

    public Date getDisUptime()
    {
        return disUptime;
    }
    public void setDisState(String disState)
    {
        this.disState = disState;
    }

    public String getDisState()
    {
        return disState;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("disId", getDisId())
                .append("disType", getDisType())
                .append("disName", getDisName())
                .append("disOrder", getDisOrder())
                .append("disUptime", getDisUptime())
                .append("disState", getDisState())
                .toString();
    }
}